package com.ytjj.common.constants;

/**
 * 
 * @version 1.0
 * 
 */
public interface RedisConstants {
    /**
     * redis key前缀
     */
    String REDIS_KEY_IMG = "portal:img:img";

    /**
     * 敏感内容
     */
    String PD_KEY = "portal:pd:pd";

    /**
     * 购物车
     */
    String CART_KEY = "cart:list:";

    /**
     * 假用户
     */

    String FAKE_USER = "user:fake";

    /**
     * 获取系统配置
     */
    String SYS_CONFIG = "sys:config";

    /**
     * h5 签到
     */
    String H5_SIGN = "h5:sign:";

    /**
     * 果宝 h5 签到
     */
    String GUOB_H5_SIGN = "guobao:h5:sign:";


    /**
     * 果宝 h5 补签次数
     */
    String GUOB_H5_RETROACTIVE_NUM = "guobao:h5:retroactive:num:";

    /**
     * 果宝 h5 连续签到 一分兑换币数量
     */
    String GUOB_H5_SIGN_CONVERSION = "guobao:h5:sign:conversion:";

    /**
     * app 签到
     */
    String APP_SIGN = "app:sign:";

    /**
     * 我的钱包签到redis前缀
     */
    String WALLET_PREFIX = "wallet:sign:";

    /**
     * 后台首页数据
     */
    String ADMIN_HOME_DATA = "admin:home:data";

    /**
     * 后台首页数据
     */
    String ADMIN_HOME_DATA2 = "admin:home:data2";

    /**
     * 文案配置
     */
    String COPYWRITER_CONFIG = "copywriter:config:";

    /**
     * 直播间在线人数
     */
    String LIVE_ONLINE_NUM = "live:online:people:";


    /**
     * 订单id
     */
    String ORDER_ID = "order:msg:id:";

    /**
     * 订单电话号码
     */
    String ORDER_TEL = "order:msg:tel:";

    /**
     *用户助力分布式锁
     */
    String USER_HELP = "user:help";


    /**
     * 商品统计
     */
    String PRODUCT_STATISTICS = "statistics:product:";

    /**
     * 平台统计
     */
    String PLATFORM_STATISTICS = "statistics:platform:";

    /**
     * 平台统计
     */
    String PLATFORM_STATISTICS_V2 = "statistics:platform:V2:";

    /**
     * 平台统计
     */
    String PLATFORM_STATISTICS_V3 = "statistics:platform:V3:";

    /**
     * 平台统计-财务
     */
    String PLATFORM_STATISTICS_FINANCE = "statistics:platform:finance:";
    /**
     * 活动统计
     */
    String ACTIVITY_STATISTICS = "statistics:activity:";

    /**
     * 渠道统计
     */
    String CHANNEL_STATISTIC = "statistics:channel:";

    /**
     * 数据统计(New)
     */
    String DATA_RECORD = "record:data:";

    /**
     * 平台统计(New)
     */
    String PLATFORM_RECORD = "record:platform:";

    /**
     * 渠道统计(New)
     */
    String CHANNEL_RECORD = "record:channel:";
    /**
     * 新商品统计
     */
    String NEW_PRODUCT_STATISTIC = "newstatistics:product:";

    /**
     * 最新未支付的订单
     */
    String NEW_NOT_PAY_ORDERS = "newNotPayOrders:";


    //app新生活馆活动类型
    String CONFIG_ACTIVITYTYPES_APP = "mall:new:lifehall:index:activitytype";//例如:old_for_new,cash_score
    //活动标题
    String PRODUCT_ACTIVITY_TITLE = "mall:new:lifehall:activity:title:";
    //活动图片
    String PRODUCT_ACTIVITY_IMG = "mall:new:lifehall:activity:img:";
    //活动描述
    String PRODUCT_ACTIVITY_DESC = "mall:new:lifehall:activity:desc:";

    //app新生活馆板块类型
    String CONFIG_FORUM_APP = "mall:new:lifehall:index:forum";//例如:1,11
    //板块标题
    String PRODUCT_FORUM_TITLE = "mall:new:lifehall:forum:title:";
    //板块图片
    String PRODUCT_FORUM_IMG = "mall:new:lifehall:forum:img:";
    //板块描述
    String PRODUCT_FORUM_DESC = "mall:new:lifehall:forum:desc:";

    /**
     * app用户使用补贴金额key
     */
    String RECORD_SUBSIDYKEY_USE_APP = "subsidykey:use:app:";
    /**
     * 账号密码输入错误次数
     */
    String LOGIN_ERR_NUM = "login:err:num:";
    /**
     * 账号状态
     * 1-正常 0-冻结
     */
    String ACCOUNT_STATUS = "account:status:";

    /**
     * 每日订单编号递增值
     */
    String ORDER_NO_KEY = "mall:orderNo:num";

    /**
     * 大数据-曝光量信息
     */
    String BIGDATA_EXPOSE = "bigdata:expose:";

    String TALENT_SUPPORT_USE_VALUE = "talent:support";

    String NO_CHAT_KEY = "NOCHAT:";

    /**
     * 商品测评
     */
    String PRODUCT_ID_KEY = "PRODUCT:";
    /**
     * h5用户领取补贴体系key
     */
    String SUBSIDYKEY = "subsidykey:";
    /**
     * h5用户领取补贴体系key
     */
    String RECORD_SUBSIDYKEY = "record:subsidykey:";

    /**
     * 返现红包和已使用红包
     */
    String RETURN_COUPON = "returnCoupon:";

    /**
     * app用户领取补贴体系key
     */
    String SUBSIDYKEY_APP = "subsidykey:app:";

    /**
     * app用户领取补贴体系key
     */
    String RECORD_SUBSIDYKEY_APP = "record:subsidykey:app:";

    /**
     * 返现红包和已使用红包
     */
    String RETURN_COUPON_APP = "returnCoupon:app:";
    /**
     * h5用户钱包抵扣key
     */
    String WALLET_DEDUCT_H5 = "walletdeduct:h5:";

    /**
     * 商品详情缓存
     */
    String PRODUCT_DETAILS = "productDetails:";
    /**
     * 商品详情图片缓存
     */
    String PRODUCT_DETAILS_IMG = "productDetailsImg:";
    /**
     * 商品详情页面按钮
     */
    String PAGE_BUTTON_BAR = "pageButtonBar:";
    /**
     * 商品店铺关注人数
     */
    String PRODUCT_BANKER_FOLLOW_NUM = "bankerFollowNum:";

    /**
     * 商品店铺品牌故事
     */
    String PRODUCT_BANKER_STORY = "productStory:";

    /**
     * 商品对应的品牌信息
     */
    String PRODUCT_BANKER_INFO = "productBankerInfo:";

    /**
     * 商品对应的供应商店铺信息
     */
    String PRODUCT_BANKER_SITE_INFO = "productBankerSiteInfo:";

    /**
     * 商品动态测评信息
     */
    String PRODUCT_DYNAMIC_INFO = "productDynamicInfo:";

    /**
     * 商品分类
     */
    String PRODUCT_CATEGORY_LIST = "product:category";

    /**
     * 供应链商品分类
     */
    String SUPPLY_CHAIN_PRODUCT_CATEGORY_LIST = "product:category";

    /**
     * 当次授权的授权码key
     */
    String APPAUTHCODE_KEY = "alipay:authcode:";
    /**
     * 支付宝授权码
     * 有效期365天
     * 请求url：https://openauth.alipay.com/oauth2/appToAppAuth.htm?app_id=2015101400446982&redirect_uri=https://guobao.quanminyanxuan.cn/api/mallv2/alipay/appAuthCodeCallback
     */
    String APPAUTHTOKEN_KEY = "alipay:authtoken:";

    String APPREFRESHTOKEN_KEY = "alipay:refresh:authtoken:";
    /**
     * vivo商业开放平台授权码
     * 有效期
     * 请求url: https://open-ad.vivo.com.cn/OAuth?clientId={您的client_id}&state={开发者标识}&redirectUri=https://api.hyshenzhen.com/api/mallv2/vivo/callback
     */
    String VIVOAUTHTOKEN_KEY = "vivo:authtoken:";
    String VIVOREFRESHTOKEN_KEY = "vivo:refresh:authtoken:";

    String PROHIBIT_USER_TEL_KEY="prohibit.user.tel";

    String BLACK_USER_TEL_KEY = "balck:tel:";
    /**
     * 报销单操作锁 key+报销单id
     */
    String REIMBURSEMENT_LOCK_ = "REIMBURSEMENT_LOCK_";

    /**
     * 报销单审核操作锁
     */
    String REIMBURSEMENT_AUDIT_KEY = "REIMBURSEMENT_AUDIT_KEY_";

    /**
     * 所有短信签名的缓存key
     */
    String MSG_ALL_SIGN_KEY = "msg_all_sign_key";

    String MSG_TEMPLATE_VARIABLE_KEY = "msg_template_variable_key";

    /**
     * 只是库导入信息
     */
    String RETURN_GOOD_IMPORT_HISTORY = "returnGoodStatistics:importHistory";



}